package day02;

public class Demo05 {
	public static void main(String[] args) {
		int i = 10, j;

		/*if (i == 10) {
			j = 20;
		} else {
			j = 30;
		}*/

		j = i == 10 ? 20 : 30;

		System.out.println(j);
	}
}
